package com.zh.test05Assemble;

import java.util.ArrayList;

public class Test {


    public static void main(String[] args) {
        //定义一个集合
        ArrayList list = new ArrayList();
        //add
        list.add("1111");
        list.add("2222");
        list.add("3333");
        System.out.println(list);
        //delect
        list.remove("1111");
        System.out.println(list);
        //updata
        list.set(0, "4444");
        System.out.println(list);
        //select
        System.out.println(list.get(0));

    }
}
